package com.sl.au.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
/**
 * 警告类型
 * @author yangdi
 *
 */
@Entity
@Table(name = "sl_qtouch_warnstatus")
public class WarnStatus extends Root {
	
	@Column(name = "warnStatus", nullable = true)
	private String warnStatus;
	@Column(name = "warnStatusName", nullable = true)
	private String warnStatusName;
	
	@ManyToOne
	@JoinColumn(name = "PartsType",nullable = true)
	private PartsType partsType;//部件层级

	public String getWarnStatus() {
		return warnStatus;
	}

	public void setWarnStatus(String warnStatus) {
		this.warnStatus = warnStatus;
	}

	public String getWarnStatusName() {
		return warnStatusName;
	}

	public void setWarnStatusName(String warnStatusName) {
		this.warnStatusName = warnStatusName;
	}

	public PartsType getPartsType() {
		return partsType;
	}

	public void setPartsType(PartsType partsType) {
		this.partsType = partsType;
	}
}
